@bg-color: #b7d4a8;

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.game-body {
    width: 360px;
    height: 420px;
    background-color: @bg-color;
    margin: 100px auto;
    border: 10px solid #000;
    border-radius: 5%;

    .content {
        width: 304px;
        height: 304px;
        background-color: #f1f1f1;
        border: 2px solid #000;
        margin: 20px auto;
        position: relative;
        .snake-block {
            & > div {
                width: 10px;
                height: 10px;
                background-color: #000;
                border: 1px solid #fff;
                position: absolute;
            }
        }
        .food {
            width: 10px;
            height: 10px;
            background-color: red;
            // margin: 1px;
            border-radius: 50%;
            position: absolute;
            top: 20%;
            left: 30%;
        }
    }

    .score-block {
        // margin: 0 auto;
        display: flex;
        justify-content: space-around;

        span {
            color: #000;
            font-size: 20px;
            font-weight: blod;
            font-family: 'Courier New', Courier, monospace;
        }
    }
}
